import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Clase Records .
 * 
 * @author Andrés Cruz Santiago  ,Jesús Aurelio Hrnández Aguilar
 * @version 04/07/13
 */
public class Records extends World
{

    /**
     * Constructor for objects of class Records.
     * 
     */
    public Records()
    {    
        // Create a new world with 600x400 cells with a cell size of 1x1 pixels.
        super(600, 400, 1); 
        prepare();
        almacenaDatos();
    }
    
    /**
     * Método que almacena los datos del Usuario al Servidor de Greenfoot
     */
    public void almacenaDatos()
    {
        addObject(new ScoreBoard(500, 300), getWidth() / 2, getHeight() / 2);            
    }

    /**
     * Prepare the world for the start of the program. That is: create the initial
     * objects and add them to the world.
     */
    private void prepare()
    {
        BotonAtras botonatras2 = new BotonAtras();
        addObject(botonatras2, 558, 360);
        botonatras2.setLocation(558, 359);
    }
}
